local bit = require "bit"
local value = 2147483649
local unpack = unpack
--print(bit.band(value, 0x7fffffff))
package.cpath = "/opt/xyitech/jieyan-backend-productionxbit/?.so;;"
local xbit = require("xbit")
--print(bit.bor(1, 0x80000000))
local args = {6,201,4,2147483647,4,"14888715985",6,0,5,2,6,0,2,1,2,0,2,0,2,0,2,0,2,0,2,0}

--print(string.format('%s',(xbit.tobit2(unpack(args)))))
print(xbit.tohex(bit.bor(1, 0x80000000)))

 function command101(index)
    return function (value, condition, commandId)
        if commandId == 7 then
            if util.contains({1, 2}, index) then
                return multi(10000000)
            end
        elseif commandId == 8 then
            if util.contains({1, 2, 5, 8}, index) then
                return multi(10000000)
            elseif util.contains({3, 4, 6, 7}, index) then
                return multi(1000)
            end
        elseif commandId == 9 then
            if index == 1 then
                return multi(1000)
            end
        end
    end
 end

print(command101(1)(1, true, 7))
